﻿namespace Test.Radical.Helpers
{
	using System;
	using Microsoft.VisualStudio.TestTools.UnitTesting;
	using SharpTestsEx;
	using Topics.Radical;

	[TestClass]
	public class NumbersExtensionsTests
	{
		[TestMethod]
		public void numbersExtensions_isEven_even_number_should_be_true()
		{
			Int32 target = 0;
			Boolean actual = NumbersExtensions.IsEven( target );

			actual.Should().Be.True();
		}

		[TestMethod]
		public void numbersExtensions_isEvent_non_even_number_should_be_false()
		{
			Int32 target = 1;
			Boolean actual = NumbersExtensions.IsEven( target );

			actual.Should().Be.False();
		}
	}
}
